#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main4()
{
	int a = 40;
	int c = 212;
	printf("%d\n", (-8 + 22) * a - 10 + c / 2);
	return 0;
}